<?php

class GameCheckCodeAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_STRING,
        SzAbstractAction::TYPE_INT,
    );

    /**
     * @param $code
     * @param $reqTime
     * @return SzResponse
     */
    public function execute($code,$reqTime) {
//        $res = PlatformQQSG::getCodeMsg($code);
        $res = PlatformQQ::getCodeMsg($code);
        return $this->buildResponse(array(
            'res' => $res
        ));
    }
}